package com.wyw.hemerocallis.sink;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * 自定义物流信息接收器（Sink）
 *
 * @author Mr Wu    yewen.wu.china@gmail.com
 * <p>
 * Update History:
 * Author        Time            Content
 */
public interface LogisticsSink {
    /** 输入信道名称 */
    String INPUT = "logisticsInput";

    /**
     * 物流 Sink -> logisticsInput
     * */
    @Input(LogisticsSink.INPUT)
    SubscribableChannel logisticsInput();
}
